Pro-Cloud API Web Service
Method/ProCloudWS.asmx/StatusesGet
Pro-Cloud API Web Service > All Operations Resource Group : /ProCloudWS.asmx/StatusesGet (Method)
Description
This web method returns a list of stock movement statuses setup in the system.
Request (StatusesGetSoapIn)

The request body is of type StatusesGet.

Request Body Parameters

NameDescriptionData Type

This is a unique provider id, which can be obtained from CSS

GUId

guid

This is your unique service password which can be obtained from CSS

String (min 1 max 50)

xml:string

This is the providers branch making the web service call (can be obtained via the ProviderBranchesGet web method)

Integer

xml:int

The id of the status branch to start at. Passing -1 returns all statuses

Integer

xml:int

If the inital status should be returned in the result set

Boolean

xml:boolean
booReturnInitalStatus Element intStatusId Element intProviderBranchId Element strPassword Element objProviderGUId Element Sequence StatusesGet Element

Overview

Response (StatusesGetSoapOut)

The response body is of type StatusesGetResponse.

Response Body Parameters

NameDescriptionData Type
 objStatusesGetReturn
xmlDataSet Element strErrorMsg Element intErrorId Element Sequence StatusesGetResult Element Sequence StatusesGetResponse Element

Overview

Sequence
Sequence
intErrorId xs:int
strErrorMsg optional xs:string
xmlDataSet optional
Sequence
Any
Example
<?xml version="1.0" encoding="UTF-8"?>
<objStatusesGetReturn xmlns="http://pro-cloud.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<intErrorId>0</intErrorId>
	<strErrorMsg/>
	<xmlDataSet>
		<NewDataSet xmlns="">
			<Statuses>
				<StatusId>3939</StatusId>
				<ParentStatusId>0</ParentStatusId>
				<StatusLevel>1</StatusLevel>
				<StatusPath>/0/</StatusPath>
				<StatusName>Agent Stock</StatusName>
			</Statuses>
			<Statuses>
				<StatusId>3959</StatusId>
				<ParentStatusId>3939</ParentStatusId>
				<StatusLevel>2</StatusLevel>
				<StatusPath>/0/3939/</StatusPath>
				<StatusName>Agent</StatusName>
			</Statuses>
			<Statuses>
				<StatusId>3975</StatusId>
				<ParentStatusId>3939</ParentStatusId>
				<StatusLevel>2</StatusLevel>
				<StatusPath>/0/3939/</StatusPath>
				<StatusName>Dean Robberts</StatusName>
			</Statuses>
			<Statuses>
				<StatusId>3974</StatusId>
				<ParentStatusId>3939</ParentStatusId>
				<StatusLevel>2</StatusLevel>
				<StatusPath>/0/3939/</StatusPath>
				<StatusName>Jayne Smith</StatusName>
			</Statuses>
		</NewDataSet>
	</xmlDataSet>
</objStatusesGetReturn>
See Also
All Operations Resource GroupPro-Cloud API Web Service